<?php

class ExchangeRates extends HTech_Db_Table
{
    protected $_name    = 'view_exchange_rates';
    protected $_primary = 'ExchangeRateId';

    protected function _setGridMetadata()
    {
        $this->_gridMetadata['title'] = $this->translate("Exchange rates");
        $this->_gridMetadata['headers'] = array
            (                
                array('Date',           120, $this->translate("Date"),     'DateTime', 'Date'),
                array('Currency',       200, $this->translate("Currency"), 'String'),
                array('Rate',           200, $this->translate("Rate"),     'String'),
            );
        return $this;
    } 
}